package com.ruoyi.system.service;

import com.github.pagehelper.PageInfo;
import com.ruoyi.system.pojo.dto.ListOtherProductsByPageDTO;
import com.ruoyi.system.pojo.entity.Product;
import com.ruoyi.system.pojo.vo.MyProductVO;
import com.ruoyi.system.pojo.vo.OtherProductVO;

import java.util.List;

public interface IAgoniProductService {
    List<Product> listProducts();

    List<Product> listServiceProducts(Long storeId);

    int addProduct(Product product);

    int  updateProduct(Long id, Product product);


    Long getStoreIdByUserId(Long userId);

    int createProduct(Product product, Long userId);

    List<OtherProductVO> listOtherProducts(Long userId);

    List<MyProductVO> listMyProductVO(Long userId);

    int changeProductStatus(Long id);

    PageInfo<OtherProductVO> listOtherProductsByPage(Long userId, ListOtherProductsByPageDTO listOtherProductsByPageDTO);
}
